package com.xinguan.service;

import com.github.pagehelper.PageInfo;
import com.xinguan.entity.Commodity;
import com.xinguan.entity.Users;
import com.xinguan.pojo.dto.CommodityDto;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈俊行
 * @Date: 2023/11/05/9:38
 * @Description:
 */
public interface CommodityService {
      void increaseCommodity(CommodityDto commodityDto);

      PageInfo<Commodity> getCommodities(String id, String commodityName, Integer inventoryStatus, Integer popularity, Integer count, Integer pageSize);


      void updateCommodity(Commodity commodity);


}
